/**
 * 
 */
package multijoueur;

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;

/**
 * @author baptiste
 *
 */
public class Client implements Runnable {
	Socket socket;
	
	public Client(String addressServer, int port) throws UnknownHostException, IOException {
		super();
		socket = new Socket(addressServer, port);
	}

	@Override
	public void run() {
		boolean finDePartie = false;
		while (!finDePartie) {
			
		}
	}

//	public static void main(String[] args) {
//		
//		try {
//			socket = new Socket(InetAddress.getLocalHost(), 5880);
//			
//			in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
//			String message_distant = in.readLine();
//			System.out.println(message_distant);
//			
//			socket.close();
//		} catch (UnknownHostException e) {
//			e.printStackTrace();
//		} catch (IOException e) {
//			e.printStackTrace();
//		}
//		
//

}
